package com.marquis.cloud.fallBack;

import com.marquis.cloud.client.LoginClient;
import com.marquis.cloud.entity.AutUser;
import org.springframework.stereotype.Component;

/**
 * 熔断器FallBack
 */
@Component
public class LoginFallBack implements LoginClient {

    @Override
    public AutUser login(String userName) {
        return new AutUser();
    }
}
